<?php
namespace app\sadmin\controller;

use think\Controller;
use think\Db;
class Train extends Controller
{
       public function index(){
       	$train=Db::name("train")->select();
       	$this->assign("train",$train);
       	return $this->fetch();
       }
}